﻿using DTO.Authorization;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace DAO.IAuthorizationDAO
{
     interface IRoleDAO
    {
         bool Insert(RoleDTO role);
         bool UpdateById(RoleDTO role);
         bool UpdateByName(RoleDTO role);
         bool DeleteById(String roleId);
         bool DeleteByName(String roleName);
         DataTable GetByName(String roleName);
         DataTable GetById(String roleId);
         DataTable GetAll();
    }
}
